package regTests;
public class Numbers extends TestStuff {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
	    System.out.println("\nStarting Number test add sub mul div ect.");
		Integer a = new Integer(1), b = new Integer(2), c = new Integer(30000), d = new Integer(-100);
		
		testAssert(3,a.intValue() + b.intValue());
		testAssert(-101,d.intValue() - a.intValue());
		testAssert(-200, b.intValue() * d.intValue());
		testAssert(0, d.intValue()/c.intValue());
		testAssert(15000, c.intValue()/b.intValue());
		testAssert(1, (a.intValue() + c.intValue()) % b.intValue());
		testAssert(3, a.intValue() | b.intValue());
		
		System.out.println("");
	}
	
}
